﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BehaviorModel.Block.Generator;
using Model.Block;

namespace BehaviorModel.Statistic
{
    /// <summary>
    /// Behavior model for updating generator statistic.
    /// </summary>
    public class GeneratorStatistic : IGeneratorStatistic
    {
        #region Fields

        private readonly IGenerator _generator;

        #endregion

        #region Properties

        public long CountOfGenerated
        {
            get { return _generator.Storage.CountOfGenerated; }
        }

        #endregion

        #region Constructor

        public GeneratorStatistic(IGenerator generator)
        {
            _generator = generator;
        }

        #endregion

        #region Methods

        public void Update()
        {
        }

        #endregion

    }
}
